<script src="js/common.js?v=70"></script>
<div ng-controller="hrmOrgPartCtl">
	<div class="wrapper wrapper-content animated fadeInRight">
		<div class="row">
			<div class="col-lg-12">
				<div class="ibox">
					<div class="ibox-content">
						<form role="form" class="form-inline">
							<div class="form-group">
								<label for="class">分类</label> <select id="class"
									style="width: 120px;" chosen disable-search="true"
									class="chosen-select" no-results-text="'没有找到相应条目'"
									ng-model="topMenuSel" data-placeholder-text-single="'请选择...'"
									ng-options="item.org_name for item in topMenuOpt">
									<option value=""></option>
							</select>
							</div>
							<button ng-click="query()" class="btn btn-sm btn-primary"
									type="submit">查询
							</button>
						</form>
					</div>
				</div>
			</div>
		</div>

		<div style="position: relative; height: 100%">
			<div class="gBqKoW">
				<div id="leftcb" class="FnqzS" style="background: white;">
					<div class="celaRy">
						<div style="margin-top: 20px; margin-left: 8px"
							 js-tree="treeConfig" ng-model="treeData" tree="treeInstance"
							 tree-events="ready:readyCB;create_node:createNodeCB"></div>

					</div>
				</div>
				<div id="flagcb" class="TNqaS">
					<span class="cmRdnZ"> <i id="flagcb2"
						class="fa fa-angle-double-right"
						style="position: absolute; right: 4px; top: 34%;"></i> <!--  <i
						class="next-icon next-icon-arrow-left next-xs sc-bxivhb bUZGRr"></i> -->
					</span>
				</div>
				<div class="jexhMp">
					<div class="ibox float-e-margins" tyle="min-height:250px;">
						<div class="ibox-title">
							<div class="ibox-tools" style="text-align: left !important">
								<button type="submit" ng-click="ok()"
									ng-disabled="myForm.$invalid" class="btn btn-primary btn-xs">保存</button>
							</div>
						</div>
						<div class="ibox-content">
							<form method="get" class="form-horizontal ng-pristine ng-valid"
								style="min-height: 250px;" name="myForm" novalidate>
								<div class="form-group">
									<label class="col-sm-2 control-label"><span
										class="text-danger">*</span>名称:</label>
									<div class="col-sm-10">
										<input type="text" required ng-maxlength="10"
											   class="form-control ng-pristine ng-untouched ng-valid ng-empty"
											   name="name" ng-model="item.node_name" placeholder="请输入内容"
										>
										<div class="text-danger"
											ng-if="myForm.name.$dirty && myForm.name.$invalid">
											<span ng-if="myForm.name.$error.required"> 输入不能为空 </span> <span
												ng-show="myForm.name.$error.maxlength">不能超过20个字符 </span>
										</div>
									</div>
								</div>

								<div class="form-group">
									<label class="col-sm-2 control-label"><span
											class="text-danger">*</span>组织类型:</label>
									<div class="col-sm-10">
											<select style="width:100%" chosen disable-search="true"
													class="chosen-select" no-results-text="'没有找到相应条目'"
													ng-model="typeSel" data-placeholder-text-single="'请选择...'"
													placeholder_text_multiple="'请选择...'"
													ng-options="item.name for item in typeOpt">
												<option value=""></option>
											</select>
										</div>
								</div>

							</form>
						</div>
					</div>
				</div>

			</div>

		</div>
	</div>
</div>